home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 71
/
MOBICLIC 71.ISO
/
mac
/
DATA
/
COMMUN
/
temp0001
/
00229_Script_GESTION_BTONS_ZAPETTE__TOOLS
< prev
next >
Wrap
Text File
|
2004-12-05
|
3KB
|
71 lines
global gL_Zap
property p_cettePiste, p_Nodepiste,p_nom_Acteur, pNoBton,pmem_titre
----------------------------------
on beginsprite me
p_Nodepiste = me.spriteNum
p_cettePiste = sprite(p_Nodepiste)
p_nom_Acteur = p_cettePiste.member.name
if p_nom_Acteur contains "AIDE" then
gL_Zap[8] = [p_Nodepiste]
pNoBton = 1
else
gL_Zap[8].add(p_Nodepiste)
pNoBton = p_Nodepiste - gL_Zap[8][1] + 1
end if
end
-----------------------------------
on mouseEnter
if the pauseState = 1 then exit
if gL_Zap[9] <> "ATTENTE" then exit--pas d'ΘxΘcution si on est dans l'aide ,le dico ou l'info
if gL_Zap[3] = 1 then exit--pas d'ΘxΘcution pendant la MAJ zapette
if localParam("TOOLS", pNoBton) = -1 then exit --pas d'ΘxΘcution si la commande est inactive pour ce movie
pmem_titre = member("TITRE_RUB").text
case(pNoBton) of
1:
member("TITRE_RUB").text = "Aide rubrique"
2:
member("TITRE_RUB").text = "Dico"
3:
member("TITRE_RUB").text = "Info"
4:
member("TITRE_RUB").text = "Sous-titrage"
5:
member("TITRE_RUB").text = "Aide tΘlΘcommande"
end case
-- p_nom_Acteur = p_cettePiste.member.name--rafraichissement obligΘ de p_nom_Acteur puisque le n░ de style peut varier
p_cettePiste.member = p_nom_Acteur&"_R"
lowjingle(8,"TOOLS_"&gimme2digits(pNoBton), "O")
cursor 280
end
---------------------------------
on mouseLeave
cursor -1
if the pauseState = 1 then exit--pas d'ΘxΘcution si on est dans l'aide ,le dico ou l'info
if gL_Zap[9] <> "ATTENTE" then exit
if gL_Zap[3] = 1 then exit--pas d'ΘxΘcution pendant la MAJ zapette
if localParam("TOOLS", pNoBton) = -1 then exit --pas d'ΘxΘcution si la commande est inactive pour ce movie
p_cettePiste.member = p_nom_Acteur
-- member("TITRE_RUB").text = localparam("MISC","ZTITLE")
if not(voidP(pmem_titre)) then
member("TITRE_RUB").text = pmem_titre
else
member("TITRE_RUB").text = EMPTY
end if
updateStage
end
-----------------------------------
on mouseUp
if the pauseState = 1 then exit
if gL_Zap[9] <> "ATTENTE" then exit--pas d'ΘxΘcution si on est dans l'aide ,le dico ou l'info
if gL_Zap[3] = 1 then exit--pas d'ΘxΘcution pendant la MAJ zapette
if localParam("TOOLS", pNoBton) = -1 then exit --pas d'ΘxΘcution si la commande est inactive pour ce movie
cursor -1
if not(voidP(pmem_titre)) then
member("TITRE_RUB").text = pmem_titre
else
member("TITRE_RUB").text = EMPTY
end if
ZAP_TOOLS(pNoBton)
end
-----------------------------------